notebook: redraw arrows after closing a tab
authorMichael Catanzaro <mcatanzaro@gnome.org>
Sat, 21 Jan 2017 02:19:56 +0000 (20:19 -0600)
committerMichael Catanzaro <mcatanzaro@gnome.org>
Tue, 24 Jan 2017 14:33:35 +0000 (08:33 -0600)
https://bugzilla.gnome.org/show_bug.cgi?id=777547

gtk/gtknotebook.c

index 0afa5cb6c45bcb1d8577473d1c47de53ba90f399..2d9a06fb8116065e002673bfe61d4c4275b53954 100644 (file)
@@ -4950,6 +4950,8 @@ gtk_notebook_real_remove (GtkNotebook *notebook,
   gtk_notebook_update_labels (notebook);
   if (need_resize)
     gtk_widget_queue_resize (GTK_WIDGET (notebook));
+  if (priv->scrollable)
+    gtk_notebook_redraw_arrows (notebook);
 }
 
 static void